Skip to content

Self-update desktop app connected to a remote hub - #1628

Merged
i2cjak merged 1 commit into
mainfrom
fix/1581-remote-app-update
Nov 22, 2026
Merged

i2cjak merged 1 commit into
mainfrom
fix/1581-remote-app-update

Conversation

@i2cjak

@i2cjak i2cjak commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

When the GPUI client connects to a hub on another machine (with no local
guard running, whether configured manually or paired), keep and switch
its own builds on this device using the signed release feed:

  • Add native/guard/src/appkeep.rs and native/guard/src/keep.rs
    (backplane builds keep) sharing release verification/unpacking with
    the host and trial/probation/BAD rollback with the guard store,
    serialized under app-update/state.lock and .guard.lock.
  • Integrate native/gpui/src/selfupdate.rs (at_launch, on_trial,
    post-present first-frame promotion, sole-app clients.lock, in-process
    hub switching and failover channel isolation, hourly background check,
    device-local channel override, Restart to update banner/button, and
    tracked Windows upgrade trials).
  • Harden updater curl/archive staging and cross-pruner protection in
    native/host/src/update/{run,svc}.rs while preserving origin/main's
    strict nightly-only policy.
  • Label host update/about rows as Hub: Backplane and render
    This computer's app / This Mac's app with skew warnings in GPUI.
  • Add localized i18n keys (en.msg, es.msg, ja.msg) and regenerate
    mobile catalogs.

Fixes #1581

When the GPUI client connects to a hub on another machine (with no local
guard running, whether configured manually or paired), keep and switch
its own builds on this device using the signed release feed:

- Add native/guard/src/appkeep.rs and native/guard/src/keep.rs
  (backplane builds keep) sharing release verification/unpacking with
  the host and trial/probation/BAD rollback with the guard store,
  serialized under app-update/state.lock and .guard.lock.
- Integrate native/gpui/src/selfupdate.rs (at_launch, on_trial,
  post-present first-frame promotion, sole-app clients.lock, in-process
  hub switching and failover channel isolation, hourly background check,
  device-local channel override, Restart to update banner/button, and
  tracked Windows upgrade trials).
- Harden updater curl/archive staging and cross-pruner protection in
  native/host/src/update/{run,svc}.rs while preserving origin/main's
  strict nightly-only policy.
- Label host update/about rows as Hub: Backplane <ver> and render
  This computer's app / This Mac's app with skew warnings in GPUI.
- Add localized i18n keys (en.msg, es.msg, ja.msg) and regenerate
  mobile catalogs.

Fixes #1581
@i2cjak
i2cjak merged commit 88071f8 into main Nov 22, 2026
4 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A desktop app on another machine's hub never updates itself

1 participant